{extend name="index/index" /}
{block name="main"}


{if condition = "$ses['vip'] eq 2"}
<img src="/static/index/img/vip_logo_2.png" width="48"> <img src="/uploads/{$ses.icon}" width="80"> <span style="color: darkviolet;">尊敬的会员：{$ses.name}</span>
{else/}
<img src="/uploads/{$ses.icon}" width="80"><span style="color: darkviolet;">尊敬的用户：{$ses.name}</span>
{/if}

<hr>
<div style="background-image: url('/static/index/img/daohangtiao.png');background-size:375px 650px;width: 375px;height: 650px;padding-left: 50px;padding-top: 40px">
    <form action="{:url('mobile/index/do_shangchuan')}" enctype="multipart/form-data" method="post" class="h3 mt20">
        封面上传
        <input type="file" name="pic" style="width: 277px"><br>
        内容上传
        <input type="file" name="image[]" multiple="multiple" style="width: 277px"><br>
        作品名称:
        <input type="text" name="name" placeholder="请输入作品名称">
        <br>
        <br>
        作品章节:
        <input type="text" name="mulu_name" placeholder="请输入作品章节">
        <br>
        <br>
        作品简介:
        <input type="text" name="detail" placeholder="请输入作品简介">
        <br>
        <br>
        作品状态:
        <select name="status" style="width:277px;">
            <option value="1">连载中</option>
            <option value="2">完结篇</option>
        </select>
        <br>
        <br>
        <input type="submit">

        <hr>
    </form>
</div>



{/block}